//
//  IAARiskMonAlarmTCell.m
//  iPadAuditAuthorise
//
//  Created by XiangDongMBP on 16/9/7.
//  Copyright © 2016年 XiangDong. All rights reserved.
//

#import "IAARiskMonAlarmTCell.h"
#import "IAAInfoMsgModel.h"

@implementation IAARiskMonAlarmTCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configViewWithData:(IAARiskMonitorModel *)model index:(NSInteger)index {
    self.indexLabel.text = [NSString stringWithFormat:@"%02zd", index];
    self.deviceLabel.text = [NSString stringWithFormat:@"设备编号：%@", model.deviceno];
    self.nameLabel.text = [NSString stringWithFormat:@"客户：%@", model.customerName];
    self.infoLabel.text = model.infolist[index].info;
}

@end
